package com.cadre.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cadre.system.domain.officer.A22;
import com.cadre.system.mapper.A22Mapper;
import com.cadre.system.service.A22Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service("A22Service")
/* loaded from: A22ServiceImpl.class */
public class A22ServiceImpl extends ServiceImpl<A22Mapper, A22> implements A22Service {
    @Autowired
    private A22Mapper a22Mapper;

    @Override // com.tdqy.cadre.modular.profess.service.A22Service
    public List<A22> selectListByPersonId(String personId) {
        return this.a22Mapper.selectListByPersonId(personId);
    }

    @Override // com.tdqy.cadre.modular.profess.service.A22Service
    @Transactional(rollbackFor = {Exception.class})
    public int insertSelective(A22 record) {
        return this.a22Mapper.insertSelective(record);
    }

    @Override // com.tdqy.cadre.modular.profess.service.A22Service
    public List<A22> selectByMap(Map<String, Object> map) {
        return this.a22Mapper.selectByMap(map);
    }

    @Override // com.tdqy.cadre.modular.profess.service.A22Service
    @Transactional(rollbackFor = {Exception.class})
    public int deleteByPersonId(String personid) {
        return this.a22Mapper.deleteByPersonId(personid);
    }

    @Override // com.tdqy.cadre.modular.profess.service.A22Service
    @Transactional(rollbackFor = {Exception.class})
    public int insertBatchSimple(List<A22> a22List) {
        return this.a22Mapper.insertBatchSimple(a22List);
    }
}
